import {saveProduct,queryProjectNotice} from '../services/api'
export default{
	namespace:'product',
	state:{},
	effects:{
		*saveProduct({payload},{call,put}){
			const response=yield call(saveProduct,payload);
			console.log('ddd');
			// yield put({
			// 	type:'saveProduct',
			// 	payload:response
			// })
		}
	},
	reducers:{
		saveProduct(state,{payload}){
			console.log('saveProduct');
			return {...state}
		}
	}
}